pub fn dp_rec_mc(amount: u32) -> u32 {
    const NUMS: [u32; 8] = [100, 50, 30, 20, 10, 5, 2, 1];

    let mut res: u32 = 0;
    let mut a = amount;
    for n in NUMS {
        res += a / n;
        a %= n;
    }
    return res;
}
